package com.diancan1.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Dczzs
 * @since 2020-08-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysBill implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     *   
     */
    @TableId(value = "bill_id", type = IdType.AUTO)
    private Integer billId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 员工ID
     */
    private String role;

    /**
     * 桌码ID
     */
    private Integer deskId;

    /**
     * 食物id
     */
    private Integer foodId;

    /**
     * 总价
     */
    @TableField("Total_price")
    private BigDecimal totalPrice;


}
